//
//  WCBDataSourceGenerator.h
//  WeChatBuniess
//
//  Created by Guo Rui on 2017/12/21.
//  Copyright © 2017年 GR Harry. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WCDataItem.h"

@protocol WCBDataSourceGeneratorDelegate<NSObject>

- (void)generateDataWithItems:(NSArray <WCDataItem *>*)dataItems;

- (void)generateCompletion;

@end

@interface WCBDataSourceGenerator : NSObject

+ (instancetype)sharedInstance;

- (void)begin;
- (void)end;

@property (weak, nonatomic) id <WCBDataSourceGeneratorDelegate> delegate;

@end
